﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Pc_Vision.View_Datalayer
{
    public partial class viewAdmin : System.Web.UI.Page
    {

        public void fn_Cancel(object sender, EventArgs e)
        {

            Response.Redirect("Index.aspx");
        }

        public void fn_SaveAdmin(object sender, EventArgs e)
        {
            Model.Admin admin = new Model.Admin();

            admin.username = tbUsername.Text.Trim();
            admin.password = tbPassword.Text.Trim();
            admin.fn_ReturnAdmin();
            


        }




        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}